import { createStore } from 'vuex'

const store = createStore({
	state: {
		timerindex: true,
		currDbSource:true
	},
	mutations: {
		SET_HW(state, params) {
			state.timerindex=params;
		},
		// 保存当前点击的数据源
        saveCurrDbSource(state,currDbSource){
            state.currDbSource = currDbSource;
        },


	},
	actions: {},
	modules: {},
	// getters
})


export default store